.class Lcom/example/m6wmr/ReportShop$1;
.super Landroid/os/Handler;
.source "ReportShop.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/ReportShop;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/ReportShop;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/ReportShop;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;

    .line 110
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/ReportShop$1;)Lcom/example/m6wmr/ReportShop;
    .locals 1

    .prologue
    .line 110
    iget-object v0, p0, Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 9
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 115
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 117
    iget v6, p1, Landroid/os/Message;->arg1:I

    packed-switch v6, :pswitch_data_0

    .line 184
    :cond_0
    :goto_0
    return-void

    .line 119
    :pswitch_0
    const-string v6, "reportString -------"

    iget-object v7, p0, Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;

    # getter for: Lcom/example/m6wmr/ReportShop;->reportBeans:Ljava/util/List;
    invoke-static {v7}, Lcom/example/m6wmr/ReportShop;->access$2(Lcom/example/m6wmr/ReportShop;)Ljava/util/List;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v6, v7}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 121
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_1
    iget-object v6, p0, Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;

    # getter for: Lcom/example/m6wmr/ReportShop;->reportBeans:Ljava/util/List;
    invoke-static {v6}, Lcom/example/m6wmr/ReportShop;->access$2(Lcom/example/m6wmr/ReportShop;)Ljava/util/List;

    move-result-object v6

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v6

    if-ge v1, v6, :cond_0

    .line 123
    iget-object v6, p0, Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;

    # getter for: Lcom/example/m6wmr/ReportShop;->context:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/ReportShop;->access$3(Lcom/example/m6wmr/ReportShop;)Landroid/content/Context;

    move-result-object v6

    const v7, 0x7f03008e

    const/4 v8, 0x0

    invoke-static {v6, v7, v8}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v5

    .line 125
    .local v5, "view":Landroid/view/View;
    iget-object v6, p0, Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;

    # getter for: Lcom/example/m6wmr/ReportShop;->reportBeans:Ljava/util/List;
    invoke-static {v6}, Lcom/example/m6wmr/ReportShop;->access$2(Lcom/example/m6wmr/ReportShop;)Ljava/util/List;

    move-result-object v6

    invoke-interface {v6, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/ReportBean;

    .line 127
    .local v0, "bean":Lbean/ReportBean;
    const v6, 0x7f0c02de

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    .line 129
    .local v2, "im_choose":Landroid/widget/ImageView;
    const v6, 0x7f0c02da

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 131
    .local v3, "is_choose":Landroid/widget/TextView;
    const v6, 0x7f0c02df

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    .line 133
    .local v4, "tv_reprot":Landroid/widget/TextView;
    invoke-virtual {v0}, Lbean/ReportBean;->getReportMessage()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v4, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 135
    invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setId(I)V

    .line 136
    new-instance v6, Lcom/example/m6wmr/ReportShop$1$1;

    invoke-direct {v6, p0, v3, v2}, Lcom/example/m6wmr/ReportShop$1$1;-><init>(Lcom/example/m6wmr/ReportShop$1;Landroid/widget/TextView;Landroid/widget/ImageView;)V

    invoke-virtual {v2, v6}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 165
    iget-object v6, p0, Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;

    # getter for: Lcom/example/m6wmr/ReportShop;->ll_report:Landroid/widget/LinearLayout;
    invoke-static {v6}, Lcom/example/m6wmr/ReportShop;->access$4(Lcom/example/m6wmr/ReportShop;)Landroid/widget/LinearLayout;

    move-result-object v6

    invoke-virtual {v6, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 121
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 174
    .end local v0    # "bean":Lbean/ReportBean;
    .end local v1    # "i":I
    .end local v2    # "im_choose":Landroid/widget/ImageView;
    .end local v3    # "is_choose":Landroid/widget/TextView;
    .end local v4    # "tv_reprot":Landroid/widget/TextView;
    .end local v5    # "view":Landroid/view/View;
    :pswitch_1
    iget-object v6, p0, Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;

    # getter for: Lcom/example/m6wmr/ReportShop;->context:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/ReportShop;->access$3(Lcom/example/m6wmr/ReportShop;)Landroid/content/Context;

    move-result-object v6

    const-string v7, "\u63d0\u4ea4\u6210\u529f "

    const/16 v8, 0xbb8

    invoke-static {v6, v7, v8}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v6

    invoke-virtual {v6}, Landroid/widget/Toast;->show()V

    .line 175
    iget-object v6, p0, Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;

    invoke-virtual {v6}, Lcom/example/m6wmr/ReportShop;->finish()V

    goto/16 :goto_0

    .line 117
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
